package lion.dev.web.useragent.parser;

import lion.dev.web.useragent.UserAgent;

/**
 * @author lion
 * @email hl_0074@sina.com
 * @date 2014年6月7日
 */
public class MobileBrowserParser extends BrowserParser {

	public MobileBrowserParser(String type) {

		super(type);
	}

	public MobileBrowserParser(String name, String type) {

		super(name, type);
	}

	@Override
	public boolean visit(String token, UserAgent agent) {

		super.visit(token, agent);
		agent.setMobile(true);

		return true;
	}

}
